package com.ttn.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ttn.common.core.entity.Result;
import com.ttn.common.core.entity.business.Order;
import com.ttn.common.core.entity.business.query.OrderPageQuery;

import javax.servlet.http.HttpServletRequest;

public interface OrderService extends IService<Order> {

    Result saveOrder(Order order);

    Result saveOrderByStudent(Order order, HttpServletRequest request);

    Result queryOrderPage(OrderPageQuery orderPageQuery);

    Result queryOrderDetailsByOrderNumber(String orderNumber);

    Result paymentOrderSuccessful(String outTradeNo);

    Result queryOrderStatistics();


}
